//
//  ACWMineVC.m
//  aichewang
//
//  Created by ucs on 16/2/23.
//  Copyright © 2016年 aichewang. All rights reserved.
//

#import "ACWMineVC.h"
#import "ACWLoginVC.h"
#import "ACWModifyPwdVC.h"
#import "ACWAddCarVC.h"
#import "ACWWalletVC.h"
#import "ACWBillCheckVC.h"
#import "RLPullDownMenu.h"

@interface ACWMineVC ()
@property (weak, nonatomic) IBOutlet RLPullDownMenu *commendedAPP;

@end
@implementation ACWMineVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.title = @"我";
    
    NSArray *arr = @[@"推荐APP", @"微信好朋友", @"微信朋友圈", @"QQ好朋友", @"QQ空间"];
    _commendedAPP.indicatorHiden = YES;
    _commendedAPP.selectItemEnable = NO;
    _commendedAPP.itemsArray = arr;
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}
- (IBAction)addCarClick {
    ACWAddCarVC *addCarVC = [[ACWAddCarVC alloc] init];
    [self pushNavControllerWithoutBottomBar:addCarVC];
}
- (IBAction)walletBtnClick:(UIButton *)sender {
    ACWWalletVC *walletVC = [[ACWWalletVC alloc] init];
    [self pushNavControllerWithoutBottomBar:walletVC];
}
- (IBAction)billCheck {
    ACWBillCheckVC *billCheckVC = [[ACWBillCheckVC alloc] init];
    [self pushNavControllerWithoutBottomBar:billCheckVC];
}
- (IBAction)switchAccount {
    ACWLoginVC *loginVC = [ACWLoginVC loginVC];
    [self presentViewController:loginVC animated:YES completion:nil];
}
- (IBAction)modifyPwdClick {
    ACWModifyPwdVC *modifyPwdVC = [[ACWModifyPwdVC alloc] init];
    [self pushNavControllerWithoutBottomBar:modifyPwdVC];
}
- (IBAction)logoutBtnClick {
    ACWLoginVC *loginVC = [ACWLoginVC loginVC];
    [self presentViewController:loginVC animated:YES completion:nil];
}


@end
